package com.bw.user.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName user
 */
@TableName(value ="user")
@Data
public class User implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String uname;

    /**
     * 
     */
    private String pwd;

    /**
     * 
     */
    private String salt;
    private Integer giteeId;
    private String avatarUrl;
    private String nickName;

    private String codepwd;
    @TableField(exist = false)
    private String uid;
    @TableField(exist = false)
    private String token;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}